package com.wyy.multiredis;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @Date: 2023/12/13
 * @Author: wyy
 */
@ConfigurationProperties(prefix = "spring")
class MultiRedisProperties {
    private List<MultiRedis> multiRedis = new ArrayList<>();
    private String name;

    @Override
    public String toString() {
        return "MultiRedisProperties{" +
                "multiRedis=" + multiRedis +
                ", name='" + name + '\'' +
                '}';
    }

    public List<MultiRedis> getMultiRedis() {
        return multiRedis;
    }

    public void setMultiRedis(List<MultiRedis> multiRedis) {
        this.multiRedis = multiRedis;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
